package com.example.peanutsubway.service;

import com.example.peanutsubway.entity.Menu;
import com.example.peanutsubway.entity.RoleInfo;
import com.example.peanutsubway.util.PageInfo;

import java.sql.Connection;

/**
 * @Author：zzt
 * @Version：1.0
 * @Date：2021/10/17-14:20
 * @Since:jdk1.8
 * @Description:
 */
public interface RoleInfoService {
    Boolean addRoleInfo(RoleInfo roleInfo);
    void setConnection(Connection connection);
    PageInfo findAllRole(RoleInfo roleInfo, String nowPage, String pageNum);
    Boolean deleteRole(Integer id);
    Boolean updateRole(RoleInfo roleInfo);
}
